package com.cloud.domain.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloud.type.sys.FolderConfigStatus;
import com.cloud.type.sys.StorageType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyuan
 * @since 2019-10-25
 */
@TableName("sys_folder_config")
public class FolderConfig implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String linuxUrl;

    private String macUrl;

    private String windowUrl;

    private String openGateway;

    private FolderConfigStatus status;

    private StorageType storageType;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLinuxUrl() {
        return linuxUrl;
    }

    public void setLinuxUrl(String linuxUrl) {
        this.linuxUrl = linuxUrl;
    }

    public String getMacUrl() {
        return macUrl;
    }

    public void setMacUrl(String macUrl) {
        this.macUrl = macUrl;
    }

    public String getWindowUrl() {
        return windowUrl;
    }

    public void setWindowUrl(String windowUrl) {
        this.windowUrl = windowUrl;
    }

    public String getOpenGateway() {
        return openGateway;
    }

    public void setOpenGateway(String openGateway) {
        this.openGateway = openGateway;
    }

    public FolderConfigStatus getStatus() {
        return status;
    }

    public void setStatus(FolderConfigStatus status) {
        this.status = status;
    }

    public StorageType getStorageType() {
        return storageType;
    }

    public void setStorageType(StorageType storageType) {
        this.storageType = storageType;
    }

    @Override
    public String toString() {
        return "FolderConfig{" +
        "id=" + id +
        ", linuxUrl=" + linuxUrl +
        ", macUrl=" + macUrl +
        ", windowUrl=" + windowUrl +
        ", openGateway=" + openGateway +
        ", status=" + status +
        ", storageType=" + storageType +
        "}";
    }
}
